package com.zmzncs.lmtc.common.pojo.daoer;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * @Author 高博文
 * @Date 2021/02/05 10:47
 */
@Data
public class GateOnOff {
    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "响应头")
    private Head head;

    @ApiModelProperty(value = "响应体")
    private Body body;

    @Data
    public class Head {
        @ApiModelProperty(value = "返回状态，1：成功；0：失败")
        private Integer status;
        @ApiModelProperty(value = "返回成功/失败消息")
        private String message;
    }

    @Data
    public class Body {
        @ApiModelProperty(value = "通道ID")
        private String channelId;
        @ApiModelProperty(value = "1开启 2 关闭")
        private Integer channelStatus;
    }

}
